A5WS_WebUser_Exists Function

Syntax

Result_Flag as L = a5ws_WebUser_Exists(C Userid [,* Localrequest ])

Arguments

Result_Flag

.T. = A user with this userid exists in the Web Security. .F. = A user with this userid does NOT exist in the Web Security.

Userid

A userID to test.

Localrequest

Optional. The Request system variable. It is added automatically by the server when run from a web page.

Description

Will return .T. if a user with this userid exists in the Web Security

Discussion

The A5WS_WebUser_Exists() tests whether a user exists in the web security system having the user ID supplied in UserID. If the Userid value is not found, the Result_Flag will return 'False'. Request is added automatically by the server when run from a web page.

Example

The following example tests if a record with a userid of "[email protected]" exists in web security.

?a5ws_WebUser_Exists("[email protected]")
 = .T.

Limitations

Web applications only.

See Also